package enterprise.web.tookit.account.evento;

import javax.persistence.EntityManager;

import enterprise.web.tookit.evento.Evento;
import enterprise.web.tookit.generic.GenericDaoImpl;

/**
 * @since 04/09/2012
 * 
 * @author regisrocha
 * 
 */
public class EventoDaoImpl extends GenericDaoImpl implements EventoDao {

	/**
	 * serial version
	 */
	private static final long serialVersionUID = -2287955620927073432L;

	public EventoDaoImpl(EntityManager em) {
		super(em);
	}

	@Override
	public Evento pesquisarEventoPorId(Integer idEvento) {
		return super.getEntityManager().find(Evento.class, idEvento);
	}

}
